﻿// ===============================================================================
// Project Name        :    Gfw.Web.Models.Genealogy
// Project Description :    
// ===============================================================================
// Class Name          :    UserGenealogyModel
// Namespace:          :    Gfw.Web.Models.Genealogy
// Class Version       :    v1.0.0.0
// Class Description   :    
// CLR Version:        :    4.0.30319.17626
//Author               :    lif
// Machine             :    ADICO-PC
// Create Time         :    2012/7/5 22:39:58
// Update Time         :    2012/7/5 22:39:58
// ===============================================================================
// Copyright © lif 2012 . All rights reserved.
// ===============================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.Genealogy
{
    public class UserGenealogyModel
    {
        public string Id { get; set; }
        public int UserIndex { get; set; }
        public string Parentid { get; set; }
        public bool ParentArea { get; set; }
        public string Code { get; set; }
        public int IsActivation { get; set; }
        public string LoginName { get; set; }
        private string _parentName = "-";
        public string ParentName
        {
            get { return _parentName; }
            set { _parentName = value; }
        }

        private string _recommenderName = "-";
        public string RecommenderName
        {
            get { return _recommenderName; }
            set { _recommenderName = value; }
        }

        public Int64 CodeNumber { get; set; }

        public int LeftChildren { get; set; }
        public int RightChildren { get; set; }

        public int H { get; set; }
        public int Hindex { get; set; }

        public string ParentHindex { get; set; }

        
    }
}
